<h2>Delete Page</h2>

<p>
  Are you sure you want to permanently delete the following page?
</p>

<%= Thoth::PageController.render_view(:index) %>

<form action="<%= Thoth::PageController.r(:delete, @page.id) %>" method="post">
  <p>
    <input type="hidden" name="token" value="<%== form_token %>" />
    <button name="confirm" value="yes">Yes, delete this page forever</button>
    <button name="confirm" value="no">No, do not delete this page</button>
  </p>
</form>
